import moment from 'moment'
import dt from '@dt/dt'

function options() {
  return [
    {
      field: 'orgName',
      title: '所属组织',
      minWidth: 160,
    },
    {
      field: 'housesName',
      title: '案场名称',
      minWidth: 160,
    },
    {
      field: 'articleTitle',
      title: '置业计划书标题',
      minWidth: 180,
    },
    {
      field: 'submitName',
      title: '提交人',
      minWidth: 120,
    },
    {
      field: 'submitTime',
      title: '提交时间',
      minWidth: 140,
    },
    {
      field: 'auditStateStr',
      title: '审批状态',
      minWidth: 100
    }, {
      field: 'nextChecker',
      title: '当前审批节点',
      minWidth: 160
    },
    {
      field: 'handles',
      title: '操作',
      minWidth: 140,
      fixed: 'right',
      cell: () => {
        return {
          btn: [{
            title: '查看',
            event: 'onDetail'
          },{
            title: '流程信息',
            event: 'onFlow'
          }]
        }
      }
    }
  ]
}

export default {
  options
}